package com.ddone;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author ddone
 * @date 2024/3/25-16:37
 * 开启事务
 */
@MapperScan("com.ddone.dao")
// 要是TK 下的包
@SpringBootApplication
@EnableTransactionManagement
public class MybatisIntApplication {
    public static void main(String[] args) {
        SpringApplication.run(MybatisIntApplication.class, args);
    }
}
